﻿using System.Text.Json;

namespace BJYJ_Admin.Core.Utils.ResultUtils
{
    /// <summary>
    /// 自定义Json命名策略，将属性名转换为小写
    /// </summary>
    public class LowerCaseNamingPolicy : JsonNamingPolicy
    {
        public override string ConvertName(string name)
        {
            return name.ToLowerInvariant();
        }
    }
}
